package sfy.md.netty.io.nio;


public class TimeServer {
    public static void main(String[] args) {
        int port = 8085;
        if (args != null && args.length < 0) {
            port = Integer.valueOf(args[0]);
        }
        MultiplexerTimeServer timeServer = new MultiplexerTimeServer(port);
        /**因为是epoll模型 没有了poll1024的限制  所以一个线程可以接入成千上万的客户端*/
        new Thread(timeServer,"NIO-MultiplexerTimeServer-001").start();
    }
}